package com.lyan.myapplication.bean;

/**
 * Created by Administrator on 2017/3/30.
 */

public class User {

    private int userId;    //用户id
    private String loginName; //用户手机号码
    private String nickName;  //用户名字
    private int courierType;  //兼职还是全职 1:全职 2:兼职
//    private int userRegisterStatus; //0:老用户 1:新用户
//    private String deliveryZoneName; //小哥所属商圈
    private String shopName;    //小哥所属生产点
    private int userAppStatus;   //身份证审核状态，0:审核通过 1:未上传身份证 2:审核中 3:审核未通过 4:人事通过，等待运营设定商圈
    private String idNumber;       //身份证号码
    private String imageWithId; //手持身份证照片url
    private String imageIdFront; //身份证正面照url
    private String imageIdBack;  //身份证反面照url
    private boolean bandBank;   //是否已绑定银行卡
    private int bankId;        // 银行 id
    private String bankAccount;  //银行卡号
    private String bankName;    //银行名
//    private String isAgreeProtocol; //是否已同意配送协议
    private int userHealthCertStatus; //健康证审核状态 ,40:审核通过 41:未上传 42:认证中 43:认证未通过
    private String imageHealthCert;  //健康证照片url
    private int noSignLeft;         //剩余特权次数
    private String token;           //登录产生的令牌，有效期1天


    public int getUserId() {
        return userId;
    }

    public void setUserId(int userId) {
        this.userId = userId;
    }

    public String getLoginName() {
        return loginName;
    }

    public void setLoginName(String loginName) {
        this.loginName = loginName;
    }

    public String getNickName() {
        return nickName;
    }

    public void setNickName(String nickName) {
        this.nickName = nickName;
    }

    public int getCourierType() {
        return courierType;
    }

    public void setCourierType(int courierType) {
        this.courierType = courierType;
    }

    public String getShopName() {
        return shopName;
    }

    public void setShopName(String shopName) {
        this.shopName = shopName;
    }

    public int getUserAppStatus() {
        return userAppStatus;
    }

    public void setUserAppStatus(int userAppStatus) {
        this.userAppStatus = userAppStatus;
    }

    public String getIdNumber() {
        return idNumber;
    }

    public void setIdNumber(String idNumber) {
        this.idNumber = idNumber;
    }

    public String getImageWithId() {
        return imageWithId;
    }

    public void setImageWithId(String imageWithId) {
        this.imageWithId = imageWithId;
    }

    public String getImageIdFront() {
        return imageIdFront;
    }

    public void setImageIdFront(String imageIdFront) {
        this.imageIdFront = imageIdFront;
    }

    public String getImageIdBack() {
        return imageIdBack;
    }

    public void setImageIdBack(String imageIdBack) {
        this.imageIdBack = imageIdBack;
    }

    public boolean isBandBank() {
        return bandBank;
    }

    public void setBandBank(boolean bandBank) {
        this.bandBank = bandBank;
    }

    public int getBankId() {
        return bankId;
    }

    public void setBankId(int bankId) {
        this.bankId = bankId;
    }

    public String getBankAccount() {
        return bankAccount;
    }

    public void setBankAccount(String bankAccount) {
        this.bankAccount = bankAccount;
    }

    public String getBankName() {
        return bankName;
    }

    public void setBankName(String bankName) {
        this.bankName = bankName;
    }

    public int getUserHealthCertStatus() {
        return userHealthCertStatus;
    }

    public void setUserHealthCertStatus(int userHealthCertStatus) {
        this.userHealthCertStatus = userHealthCertStatus;
    }

    public String getImageHealthCert() {
        return imageHealthCert;
    }

    public void setImageHealthCert(String imageHealthCert) {
        this.imageHealthCert = imageHealthCert;
    }

    public int getNoSignLeft() {
        return noSignLeft;
    }

    public void setNoSignLeft(int noSignLeft) {
        this.noSignLeft = noSignLeft;
    }

    public String getToken() {
        return token;
    }

    public void setToken(String token) {
        this.token = token;
    }


    @Override
    public String toString() {
        return "User{" +
                "userId=" + userId +
                ", loginName='" + loginName + '\'' +
                ", nickName='" + nickName + '\'' +
                ", courierType=" + courierType +
                ", shopName='" + shopName + '\'' +
                ", userAppStatus=" + userAppStatus +
                ", idNumber='" + idNumber + '\'' +
                ", imageWithId='" + imageWithId + '\'' +
                ", imageIdFront='" + imageIdFront + '\'' +
                ", imageIdBack='" + imageIdBack + '\'' +
                ", bandBank=" + bandBank +
                ", bankId=" + bankId +
                ", bankAccount='" + bankAccount + '\'' +
                ", bankName='" + bankName + '\'' +
                ", userHealthCertStatus=" + userHealthCertStatus +
                ", imageHealthCert='" + imageHealthCert + '\'' +
                ", noSignLeft=" + noSignLeft +
                ", token='" + token + '\'' +
                '}';
    }
}
